N.Util.Highcharts_theme = {// Highcharts公公配置
	lang : {
		noData : '暂无数据',
	},
	colors : [ '#5eb5ef', '#ffd778', '#68d4b2', '#a4e59b', '#e6f3a4',
			'#f0d487', '#f9b878', '#f9815c', '#c82b3d', '#4d6fa9',
			'#36b3c3', '#f8ab60' ],
	chart : {
		backgroundColor : null,
		spacing: [10, 10, 5,5]
	},
	title : {
		style : {// 标题颜色和字体
			color : '#333333',
			font : 'bold 14px PingFangSC-Regular, "Helvetica Neue", Helvetica, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", 微软雅黑, Arial, sans-serif'
		},
		margin:0
	},
	subtitle : {
		style : {// 副标题颜色和字体
			color : '#666666',
			font : ' 12px  PingFangSC-Regular, "Helvetica Neue", Helvetica, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", 微软雅黑, Arial, sans-serif'
		}
	},
	legend : {
		itemStyle : {// 图例字体和颜色
            cursor : 'pointer',
			color : '#333333',
			font : '12px  PingFangSC-Regular, "Helvetica Neue", Helvetica, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", 微软雅黑, Arial, sans-serif',
			fill: '#333333'
		}
	},
	yAxis : {
		labels : {
			style : {// 竖轴刻度文字颜色
				font : ' 8px  PingFangSC-Regular, "Helvetica Neue", Helvetica, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", 微软雅黑, Arial, sans-serif'
			}
		},
		title : {
			style : {
				font : ' 8px  PingFangSC-Regular, "Helvetica Neue", Helvetica, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", 微软雅黑, Arial, sans-serif'
			}
		}
	},
	xAxis : {
		labels : {
			style : {// 横轴刻度文字颜色
				font : ' 8px  PingFangSC-Regular, "Helvetica Neue", Helvetica, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", 微软雅黑, Arial, sans-serif'
			}
		},
		title : {
			style : {
				font : ' 8px  PingFangSC-Regular, "Helvetica Neue", Helvetica, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", 微软雅黑, Arial, sans-serif'
			}
		}
	},
	credits : {
		enabled : false
	}
};
N.Util.Theme_colors={
	green:'#18d618',//'#6fcdcd' '#0fff0f',
	blue:'#5eb5ef',
	orange:'#ffd778',
	red:'#ff829d',
	text:'#000000',
	note:'#999999',
	darkGreen: '#9498ee',
	alarmRed: '#dd000f'
};
N.Util.setTableSelect=function (tableId){
	$("#"+tableId+" tbody tr").on("click", function(){
		if ($(this).hasClass("selected")) {
			$(this).removeClass('selected');
		} else {
			var selectedIndex = $("#"+tableId+" tbody tr.selected").index();
			if (selectedIndex >= 0) {
				 $("#"+tableId+" tbody tr.selected").removeClass('selected');
			}
			$(this).addClass('selected');
		}
	});
}